﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;

namespace blackhouse.Web.Controls {
	public class BorderlessImage : Image {

		public override Unit BorderWidth {
			get {
				if(base.BorderWidth.IsEmpty)
					return Unit.Pixel(0);
				else
					return base.BorderWidth;
			}
			set {
				base.BorderWidth = value;
			}
		}

	}
}